using UnityEngine;
using System.Collections;

public class WinScreen : MonoBehaviour {

	void Awake()
	{
		GameController.OnLevelWin += win;
	}
	
	void OnDestroy()
	{
		GameController.OnLevelWin -= win;
	}
	
	void Start () {
	
	}
	
	void win()
	{
		transform.position = new Vector3(0,0,27);
	}
}
